html,
body {
  height: 100%;
  margin: 0;
  .fm();
}

.form-action-btn {
  cursor: pointer;
  display: inline-block;
  margin-left: 22px;
  padding: 0 3px;
  color: @main-color;

  &:hover {
    color: @dark-color;
  }
}

.ivu-drawer-header-inner {
  color: @main-color  !important;
  font-weight: normal !important;
}

.ivu-drawer-body {
  .scroll-bar();
}


.headerCenter {
  .zk-table__cell-inner {
    text-align: center;
  }
}

/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
  background-color: @scroll-bg;
}

/*定义滚动条轨道 内阴影+圆角*/
::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(218, 218, 218, .3);
  box-shadow: inset 0 0 6px rgba(218, 218, 218, .3);
  border-radius: 10px;
  background-color: @scroll-bg;
}

/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(218, 218, 218, .3);
  box-shadow: inset 0 0 6px rgba(218, 218, 218, .3);
  background-color: @scroll-color;
}

// hack iview table 
div.ivu-table-cell {
  padding-left: 3px;
  padding-right: 3px;
}

// hack iView message 
div.ivu-message-notice-content {
  padding: 0;

  .ivu-message-notice-content-text {
    display: block;

    .ivu-message-custom-content {
      padding: 8px 16px;

    }

    .ivu-message-success {
      background: @successBg;
      border: 1px solid @successColor;
      border-radius: 4px;

      span {
        color: @successColor
      }
    }

    .ivu-message-info {
      background: @infoBg;
      border: 1px solid @infoColor;
      border-radius: 4px;

      span {
        color: @infoColor
      }

      .ivu-icon {
        color: @infoColor
      }
    }

    .ivu-message-warning {
      background: @warningBg;
      border: 1px solid @warningColor;
      border-radius: 4px;

      span {
        color: @warningColor
      }
    }

    .ivu-message-error {
      background: @errorBg;
      border: 1px solid @errorColor;
      border-radius: 4px;

      span {
        color: @errorColor
      }
    }
  }

}


// hack dropDownItem
.actionBox {
  .ivu-icon {
    color: @main-color
  }
}


// hack tree select
.tree-select {
  .ivu-select-multiple .ivu-select-selection {
    height: 32px;
    overflow: hidden;
  }
  .ivu-tag {
    .ivu-icon-ios-close {
      display: none;
    }

    span.ivu-tag-text {
      margin-right: 0;
    }
  }

}

//hack  table
.ivu-table-cell {
  padding-left: 3px !important;
  padding-right: 3px !important;
}
.ivu-table-tip table tbody>tr>td{
  width: 100% !important;
     
 } 

//hack  read-only
input:read-only,textarea:read-only,input:disabled,textarea:disabled {
  background-color: #f0f2f5;
  // border: 0;
  color:#333;
  cursor: auto;
  resize: none; 
  &:focus {
    border: 1px solid #dcdee2;
    box-shadow: none;
  }
  &:hover{
    border: 1px solid #dcdee2;
    box-shadow: none;
  }
}



//hack Button type
button.ivu-btn-primary {
  background: @main-color;
  border: 1px solid @main-color;

  &:hover {
    background: @hover-color;
    border: 1px solid @hover-color;
  }
}

button.ivu-btn-default {

  &:hover {
    border: 1px solid @hover-color;
    color: @hover-color;
  }
}

button.ivu-btn-error {
  background: @errorBtn;
  border: 1px solid @errorBtn;

  &:hover {
    background: @errorBtnHover;
    border: 1px solid @errorBtnHover;
  }
}

//hack Button size
button.ivu-btn-small {
  min-width: 64px;
  height: 32px;
}

.ivu-btn {
  min-width: 75px;
  height: 32px;
}


.fontColor {
  color: @main-color;

  &:hover {
    color: @hover-color
  }
}

.fontColorDis {
  color: @main-sub-color_2;

  &:hover {
    color: @main-sub-color_2
  }
}

.comContainer{
  padding:20px 24px 10px 24px;
}